﻿using System;
using System.Collections.Generic;
using System.Text;
using Abp.AutoMapper;
using AutoMapper;
using AVISOutBound.SSOServer.Orders.AbgRefundOrders;

namespace AVISOutBound.SSOServer.Payment.Dto
{
    /// <summary>
    /// 退款单 输出参数
    /// </summary>
    [AutoMapFrom(typeof(AbgRefundOrder))]
    public class RefundOrderOutput
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        /// 退款单号
        /// </summary>
        public string RefundOrderNo { get; set; }

        /// <summary>
        /// 退款原因
        /// </summary>
        public int? Cause { get; set; }

        /// <summary>
        /// 退款金额
        /// </summary>
        public float? Amount { get; set; }

        /// <summary>
        /// 外部支付单号
        /// </summary>
        public string OutRefundOrderNo { get; set; }

        /// <summary>
        /// 退款类型
        /// </summary>
        public int? RefundType { get; set; }

        /// <summary>
        /// 退款理由
        /// </summary>
        public string Reason { get; set; }

        /// <summary>
        /// 退款状态
        /// </summary>
        public int? RefundStatus { get; set; }

        /// <summary>
        /// 卖家留言
        /// </summary>
        public string SellMemo { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreationTime { get; set; }

        /// <summary>
        /// 编辑时间
        /// </summary>
        public DateTime? LastModificationTime { get; set; }
    }
}
